package com.zrc.superframe_net.room

import androidx.room.Database
import androidx.room.RoomDatabase
import com.zrc.superframe_net.room.download.DownloadInfo
import com.zrc.superframe_net.room.download.DownloadInfoDao
import com.zrc.superframe_net.room.net.NetCache
import com.zrc.superframe_net.room.net.NetCacheDao

/**
 * @Author: superman
 * @CreateTime: 10/15/21
 * @Describe:
 */
@Database(entities = [NetCache::class, DownloadInfo::class], version = 1, exportSchema = true)
abstract class NetDatabase : RoomDatabase() {
    abstract fun netCacheDao(): NetCacheDao
    abstract fun downInfoDao(): DownloadInfoDao
}